#ifndef WidgetTwo_H
#define WidgetTwo_H

#include "mywidget.h"

class WidgetTwo : public MyWidget {
Q_OBJECT

public:
    explicit WidgetTwo(QWidget *parent = nullptr);

    ~WidgetTwo();
    void refit() override;
private:
    //以下四个函数仅用作初始化，不得在构造函数外随意调用
    void initControlPanel() override;

    void connectSingals() override;

    void setParamater() override;

    QPointF fitRange() override;

    void loadFile();

    QComboBox *m_comboDataType;
    QString m_csvFilePath;
};

#endif // WidgetTwo_H
